package com.atguigu.gmallpublisher.service;

import com.atguigu.gmallpublisher.bean.ProvinceStats;
import com.atguigu.gmallpublisher.mapper.ProvinceStatsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lizhenchao@atguigu.cn
 * @Date 2021/2/20 12:02
 */
@Service
public class ProvinceStatsServiceImp implements ProvinceStatsService{
    @Autowired
    ProvinceStatsMapper provinceStatsMapper;
    @Override
    public List<ProvinceStats> getProvinceStats(int date) {
        return provinceStatsMapper.selectProvinceStats(date);
    }
    
}
